<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <!-- <h3 id="hhh"></h3> -->
        <p>
            姓名: <input ref="ipt" type="text">
        </p>

        <p>
            年龄: <input type="text">
        </p>

        <audio controls src=""></audio>

        <!-- <video src=""></video> -->
        
    </div>


    <script src="./vue.js"></script>
    <script>

        new Vue({
            el: "#app",
            created() {
                // console.log(this.$refs.hhh)
            },
            mounted() {
                // document.getElementById('hhh')
                // this.$refs.hhh.innerHTML = "111111111"

                this.$refs.ipt.focus()
            }
        })
    </script>
</body>

</html>